﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rydt.aspx.cs" Inherits="Catering.Catering_Page.richang.rydt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>菜品管理</title>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>   
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../Scripts/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .Create_Recipe
        {
            margin-top: 0;
        }
        .Create_Recipe
        {
            border: 1px solid #159aec;
            border-top: none;
            width: 998px;
        }
        .soso_lt
        {
            padding: 5px 0;
        }
        .soso_lt a
        {
            margin-left: 3px;
        }
        .Recipe_0206_nonpic h1{ background-image:url(../../Images/bzlb.gif);}
    </style>
    <script type="text/javascript" language="javascript">
        function cbClick(j, num) {
            for (i = 1; i <= num; i++) {
                $GetControl("cb_" + i).checked = false;
                $GetControl("img_" + i).style.display = 'none';
            }
            $GetControl("cb_" + j).checked = true;

            $GetControl("img_" + j).style.display = 'block';

        }
    </script>
    <!--班组名称-->
    <script language="javascript" type="text/javascript">
        function Input_ClassName_Click() {
            
            if ($("#Txt_ClassName").val() != null && $("#Txt_ClassName").val().length > 1) {
              
                $.ajax({
                    type: "Post", //ClassInfos,stat,stop
                    url: "../../PostDate.aspx/ruchangrenyuandognti_seacher",
                    data: "{'ClassInfos':'" + $("#Txt_ClassName").val() + "','stat':'" + $("#Txt_Stata_Date").val() + "','stop':'" + $("#Txt_Stop_Date").val() + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (data) {
                       
                            $("#Renyuandongtai_ShowHtml").append(data.d[0]);
                            $("#Txt_ZNumber").val(data.d[1]);
                            $("#Txt_PNumber").val(data.d[2]);
                            $("#Txt_HNumbe").val(data.d[3]);
                            $("#Txt_QNumber").val(data.d[4]);
                            $("#Txt_DNumber").val(data.d[5]);
                       

                    }
                    });
                
            }
        }
    </script>
</head>
<body>
    <form ie="from1" runat="server">
    <div class="xxk_button1">
            <ul>
                <li><a id="A1" href="rydt.aspx" class="li_out li_over">&nbsp;&nbsp;每日就餐人员动态</a></li>
                <li><a id="A2" href="AteNumberYearOrMonth.aspx" class="li_out" >&nbsp;&nbsp;就餐人员统计</a></li>
                <li><a id="A3" href="SetCateringPersons.aspx" class="li_out">&nbsp;&nbsp;配餐人员动态</a></li>
                <li><a id="A4" href="rbzt.aspx" class="li_out">&nbsp;&nbsp;日报状态</a></li>
            </ul>
        </div>
    <div class="Center_Content" id="div2_1" style="display: block">
        <div class="Create_Recipe">
            <div class="div_0207 left_width500" style="height:34px; width:996px;">
                <table align="left" width="100%" style="height:34px" border="0" cellspacing="0" cellpadding="0" class="ckgl_table">
                    <thead>
                        <tr>
                            <td width="45" align="right">日期：</td>
                            <td width="90"><asp:TextBox runat="server"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" CssClass="input_bg" Width="80"  id="Txt_Stata_Date" /></td>
                            <td width="20">至</td>
                            <td width="90"><asp:TextBox runat="server"  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" CssClass="input_bg" Width="80" id="Txt_Stop_Date" /></td>
                            <td width="85" align="right">人员群体名称：</td>
                            <td width="140"><input type="text" runat="server" class="input_bg" style="width:130px;" onpropertychange="Input_ClassName_Click()" id="Txt_ClassName"/></td>
                            <td>&nbsp;</td>
                        </tr>
                    </thead>
                </table>
            </div>        
            <div class="left_CR">
                <div class="Recipe_0206_nonpic" style="margin-top:10px;">
                    <h1><a href="#rhis">班组列表</a></h1>
                    <div class="Dl_div">
                        <asp:TreeView ID="Tv_Group" runat="server" Height="400" style="overflow:scroll;" 
                            onselectednodechanged="Tv_Group_SelectedNodeChanged" ShowLines="True" SelectedNodeStyle-BackColor="#FCA402">
                        </asp:TreeView>
                    </div>
                </div>
            </div>
            <div class="Right_CR">
                <table style="height:34px; border:1px solid #C2DEF6; border-top:none;" align="center" width="798" border="0" cellspacing="0" cellpadding="0">
                    <thead>
                        <tr>
                            <td width="60" align="right">收费人数：</td>
                            <td width="60"><input runat="server" id="Txt_ZNumber" type="text" class="input_bg" style="width:50px;" /> </td>
                            <td width="75" align="right">配餐人数：</td>
                            <td width="60"><input runat="server" id="Txt_PNumber" type="text" class="input_bg" style="width:50px;" /></td>
                            <td width="45" align="right">定员：</td>
                            <td width="60"><input type="text" runat="server" id="Txt_DNumber" class="input_bg"  style="width:50px;" /></td>
                            <td width="100" align="right">其它单位人数：</td>
                            <td width="60"><input type="text" runat="server" id="Txt_QNumber" class="input_bg" style="width:50px;" /></td>
                            <td align="right">
                                <asp:Button runat="server" ID="but_Execl" CssClass="input_btn_a" Text="导出Excel" onclick="but_Execl_Click" />                          
                            </td>
                            <td width="10"></td>
                        </tr>
                    </thead>
                </table>                    
                <table width="100%" class="swxx_table">
					<thead>
                        <tr>
                            <td align="center">序号</td>
                            <td align="center">就餐人员单位</td>                            
	                        <td align="center">就餐人数</td>
                            <td align="center">特殊费率</td>
	                    </tr>
                    </thead>
	                <tbody id="Renyuandongtai_ShowHtml"> 
                    <%=ViewState["ShowHtml"] %>
                    </tbody>
                </table>                	
            </div>
      </div>
    </div>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
    </form>
</body>
</html>
